package com.hunan.api.catv.service.impl.ugc;

import com.hunan.api.catv.dao.BaseDao;
import com.hunan.api.catv.dao.ugc.UgcNewsMapper;
import com.hunan.api.catv.entity.po.UgcNews;
import com.hunan.api.catv.entity.vo.UgcNewsVo;
import com.hunan.api.catv.service.impl.CommonService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @Author: wangchao
 * @Date: 2020/9/23 9:36
 */
@Service
public class UgcNewsService extends CommonService<UgcNews, UgcNewsVo, Integer> {

    @Autowired
    private UgcNewsMapper ugcNewsMapper;

    @Override
    public BaseDao<UgcNews, UgcNewsVo, Integer> getBaseDao() {
        return ugcNewsMapper;
    }
}
